package com.peas.platform.module.icims.budget.project.controller.vo;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("项目通知附件")
public class BudgetProjectNoticeFileVo extends BaseVo {

    // 【项目通知表】
    @Comment(value = "项目通知ID")
    @ApiModelProperty(value = "项目通知ID")
    private Long budgetProjectNoticeId;

    // 【附件表】
    @Comment(value = "附件ID")
    @ApiModelProperty(value = "附件ID")
    private Long attachmentId;

    @Comment(value = "附件名称")
    @ApiModelProperty(value = "附件名称")
    @Size(max = 200, message = "附件名称不能超过200个字符")
    private String attachmentName;

}
